package me.sealer.ssm.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import me.sealer.ssm.model.Menu;

import java.util.List;

/**
 * @author sealer
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "角色菜单列表查询响应报文体")
public class QueryMenusResponse {
    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "角色拥有的菜单id列表")
    private List<Integer> havingMenusIds;

    @ApiModelProperty(value = "系统内所有一级菜单列表")
    private List<Menu> allMenus;
}
